﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using Fluent;

namespace SWCInvoice.Templates {
    public partial class TemplateEvents {
        public TemplateEvents()
        {
        }
        //private void OnGalleryItem_Click(object sender, RoutedEventArgs e) {
        //    throw new System.NotImplementedException();
        //}

        private void OnGalleryItem_Selected(object sender, RoutedEventArgs e) {
            foreach (GalleryItem item in ((InRibbonGallery)((GalleryItem)(sender)).Parent).Items) {
                item.IsSelected = false;
            }
            

            //throw new System.NotImplementedException();
        }
        
    }
}
